home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Internet Strate…Tools for the Enterprise / Microsoft Internet Strategy & Tools for the Enterprise.iso / bkoffice / inetsrv.nts / mips / w3ctrs.h < prev    next >
Text File  |  1995-12-29  |  3KB  |  77 lines

  1. /**********************************************************************/
  2. /**                       Microsoft Windows NT                       **/
  3. /**                Copyright(c) Microsoft Corp., 1993                **/
  4. /**********************************************************************/
  5.  
  6. /*
  7.     w3ctrs.h
  8.  
  9.     Offset definitions for the W3 Server's counter objects & counters.
  10.  
  11.     These offsets *must* start at 0 and be multiples of 2.  In the
  12.     W3OpenPerformanceData procecedure, they will be added to the
  13.     W3 Server's "First Counter" and "First Help" values in order to
  14.     determine the absolute location of the counter & object names
  15.     and corresponding help text in the registry.
  16.  
  17.     This file is used by the W3CTRS.DLL DLL code as well as the
  18.     W3CTRS.INI definition file.  W3CTRS.INI is parsed by the
  19.     LODCTR utility to load the object & counter names into the
  20.     registry.
  21.  
  22.  
  23.     FILE HISTORY:
  24.         KeithMo     07-Jun-1993 Created.
  25.  
  26. */
  27.  
  28.  
  29. #ifndef _W3CTRS_H_
  30. #define _W3CTRS_H_
  31.  
  32.  
  33. //
  34. //  The W3 Server counter object.
  35. //
  36.  
  37. #define W3_COUNTER_OBJECT                     0
  38.  
  39.  
  40. //
  41. //  The individual counters.
  42. //
  43.  
  44. #define W3_BYTES_SENT_COUNTER                 2
  45. #define W3_BYTES_RECEIVED_COUNTER             4
  46. #define W3_BYTES_TOTAL_COUNTER                6
  47. #define W3_FILES_SENT_COUNTER                 8
  48. #define W3_FILES_RECEIVED_COUNTER             10
  49. #define W3_FILES_TOTAL_COUNTER                12
  50. #define W3_CURRENT_ANONYMOUS_COUNTER          14
  51. #define W3_CURRENT_NONANONYMOUS_COUNTER       16
  52. #define W3_TOTAL_ANONYMOUS_COUNTER            18
  53. #define W3_TOTAL_NONANONYMOUS_COUNTER         20
  54. #define W3_MAX_ANONYMOUS_COUNTER              22
  55. #define W3_MAX_NONANONYMOUS_COUNTER           24
  56. #define W3_CURRENT_CONNECTIONS_COUNTER        26
  57. #define W3_MAX_CONNECTIONS_COUNTER            28
  58. #define W3_CONNECTION_ATTEMPTS_COUNTER        30
  59. #define W3_LOGON_ATTEMPTS_COUNTER             32
  60. #define W3_TOTAL_GETS_COUNTER                 34
  61. #define W3_TOTAL_POSTS_COUNTER                36
  62. #define W3_TOTAL_HEADS_COUNTER                38
  63. #define W3_TOTAL_OTHERS_COUNTER               40
  64. #define W3_TOTAL_CGI_REQUESTS_COUNTER         42
  65. #define W3_TOTAL_BGI_REQUESTS_COUNTER         44
  66. #define W3_TOTAL_NOT_FOUND_ERRORS_COUNTER     46
  67. #define W3_CURRENT_CGI_COUNTER                48
  68. #define W3_CURRENT_BGI_COUNTER                50
  69. #define W3_MAX_CGI_COUNTER                    52
  70. #define W3_MAX_BGI_COUNTER                    54
  71. #define W3_CONNECTIONS_PER_SEC_COUNTER        56
  72.  
  73.  
  74. #endif  // _W3CTRS_H_
  75.  
  76. 
  77.